<?php
class Activity extends AppModel
{
    public $name = 'Activity';
    var $order = 'created DESC';
    public $actsAs = array(
        'Containable',
        'Polymorphic' => array(
            'classField' => 'model',
            'foreignKey' => 'model_id'
        ) ,
    );
    public $belongsTo = array(
        'User' => array(
            'className' => 'User',
            'foreignKey' => 'user_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        ) ,
        'Project' => array(
            'className' => 'Project',
            'foreignKey' => 'project_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        ) ,
        'Blog' => array(
            'className' => 'Blog',
            'foreignKey' => 'model_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        ) ,
        'SecondProject' => array(
            'className' => 'SecondProject',
            'foreignKey' => 'model_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        ) ,
        'ProjectFund' => array(
            'className' => 'ProjectFund',
            'foreignKey' => 'model_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        ) ,
        'ProjectComment' => array(
            'className' => 'ProjectComment',
            'foreignKey' => 'model_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        ) ,
        'ProjectFollower' => array(
            'className' => 'ProjectFollower',
            'foreignKey' => 'model_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        ) ,
        'ProjectRating' => array(
            'className' => 'ProjectRating',
            'foreignKey' => 'model_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        ) ,
        'BlogComment' => array(
            'className' => 'BlogComment',
            'foreignKey' => 'model_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        )
    );
}
?>